[INFO] cloning repository https://github.com/atwupack/editor
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/atwupack/editor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatwupack%2Feditor", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatwupack%2Feditor'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f0c7b16df87b50037ecd693d1f619dcb40c6edd4
[INFO] checking atwupack/editor against try#5c7108a2805ef56743d713d2789c5e802631c9e8 for pr-97739
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatwupack%2Feditor" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/atwupack/editor on toolchain 5c7108a2805ef56743d713d2789c5e802631c9e8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/atwupack/editor
[INFO] finished tweaking git repo https://github.com/atwupack/editor
[INFO] tweaked toml for git repo https://github.com/atwupack/editor written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/atwupack/editor already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9d007925ea3e3ec7acad85cebf0fd88c997eb02f39e7731e453245445e21f572
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "9d007925ea3e3ec7acad85cebf0fd88c997eb02f39e7731e453245445e21f572", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9d007925ea3e3ec7acad85cebf0fd88c997eb02f39e7731e453245445e21f572", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9d007925ea3e3ec7acad85cebf0fd88c997eb02f39e7731e453245445e21f572", kill_on_drop: false }`
[INFO] [stdout] 9d007925ea3e3ec7acad85cebf0fd88c997eb02f39e7731e453245445e21f572
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d09b644408ebb06d8db1e7eb85fddf474c2d1a047a43044a284eb1fb4312f9d6
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "d09b644408ebb06d8db1e7eb85fddf474c2d1a047a43044a284eb1fb4312f9d6", kill_on_drop: false }`
[INFO] [stderr]    Compiling pkg-config v0.3.14
[INFO] [stderr]    Compiling libc v0.2.48
[INFO] [stderr]     Checking bitflags v1.0.4
[INFO] [stderr]     Checking lazy_static v1.2.0
[INFO] [stderr]    Compiling proc-macro2 v0.4.27
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling cc v1.0.29
[INFO] [stderr]    Compiling gio v0.5.1
[INFO] [stderr]    Compiling autocfg v0.1.2
[INFO] [stderr]     Checking fragile v0.3.0
[INFO] [stderr]    Compiling failure_derive v0.1.5
[INFO] [stderr]    Compiling cairo-rs v0.5.0
[INFO] [stderr]     Checking ansi_term v0.11.0
[INFO] [stderr]    Compiling gdk-pixbuf v0.5.0
[INFO] [stderr]     Checking siphasher v0.2.3
[INFO] [stderr]     Checking rustc-demangle v0.1.13
[INFO] [stderr]    Compiling gdk v0.9.0
[INFO] [stderr]     Checking cfg-if v0.1.6
[INFO] [stderr]     Checking unicode-width v0.1.5
[INFO] [stderr]     Checking matches v0.1.8
[INFO] [stderr]     Checking vec_map v0.8.1
[INFO] [stderr]    Compiling gtk v0.5.0
[INFO] [stderr]     Checking strsim v0.7.0
[INFO] [stderr]     Checking fluent-locale v0.4.1
[INFO] [stderr]     Checking downcast-rs v1.0.3
[INFO] [stderr]     Checking dunce v0.1.1
[INFO] [stderr]     Checking phf_shared v0.7.24
[INFO] [stderr]     Checking annotate-snippets v0.1.0
[INFO] [stderr]     Checking textwrap v0.10.0
[INFO] [stderr]     Checking phf v0.7.24
[INFO] [stderr]    Compiling backtrace v0.3.13
[INFO] [stderr]    Compiling glib-sys v0.7.0
[INFO] [stderr]    Compiling gobject-sys v0.7.0
[INFO] [stderr]    Compiling gio-sys v0.7.0
[INFO] [stderr]    Compiling cairo-sys-rs v0.7.0
[INFO] [stderr]    Compiling gdk-pixbuf-sys v0.7.0
[INFO] [stderr]    Compiling pango-sys v0.7.0
[INFO] [stderr]    Compiling gdk-sys v0.7.0
[INFO] [stderr]    Compiling atk-sys v0.7.0
[INFO] [stderr]    Compiling gtk-sys v0.7.0
[INFO] [stderr]     Checking intl_pluralrules v1.0.2
[INFO] [stderr]     Checking fluent-syntax v0.1.1
[INFO] [stderr]    Compiling quote v0.6.11
[INFO] [stderr]     Checking atty v0.2.11
[INFO] [stderr]    Compiling backtrace-sys v0.1.28
[INFO] [stderr]    Compiling syn v0.15.26
[INFO] [stderr]     Checking clap v2.32.0
[INFO] [stderr]     Checking glib v0.6.1
[INFO] [stderr]    Compiling synstructure v0.10.1
[INFO] [stderr]     Checking pango v0.5.0
[INFO] [stderr]     Checking failure v0.1.5
[INFO] [stderr]     Checking fluent v0.4.3
[INFO] [stderr]     Checking editor v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `App`
[INFO] [stdout]  --> src/service/mod.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::app::{App, AppContext};
[INFO] [stdout]   |                  ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/service/message.rs:10:40
[INFO] [stdout]    |
[INFO] [stdout] 10 |     listeners: HashMap<TypeId, Vec<Box<Fn(&App, &str, &dyn Any)>>>,
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 10 -     listeners: HashMap<TypeId, Vec<Box<Fn(&App, &str, &dyn Any)>>>,
[INFO] [stdout] 10 +     listeners: HashMap<TypeId, Vec<Box<dyn Fn(&App, &str, &dyn Any)>>>,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/service/message.rs:11:54
[INFO] [stdout]    |
[INFO] [stdout] 11 |     connections: HashMap<TypeId, HashMap<TypeId, Box<Fn(&dyn Any) -> Box<dyn Any>>>>,
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 11 -     connections: HashMap<TypeId, HashMap<TypeId, Box<Fn(&dyn Any) -> Box<dyn Any>>>>,
[INFO] [stdout] 11 +     connections: HashMap<TypeId, HashMap<TypeId, Box<dyn Fn(&dyn Any) -> Box<dyn Any>>>>,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `App`
[INFO] [stdout]  --> src/service/mod.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::app::{App, AppContext};
[INFO] [stdout]   |                  ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefMut`
[INFO] [stdout]   --> src/service/mod.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |     use std::cell::RefMut;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/service/message.rs:10:40
[INFO] [stdout]    |
[INFO] [stdout] 10 |     listeners: HashMap<TypeId, Vec<Box<Fn(&App, &str, &dyn Any)>>>,
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 10 -     listeners: HashMap<TypeId, Vec<Box<Fn(&App, &str, &dyn Any)>>>,
[INFO] [stdout] 10 +     listeners: HashMap<TypeId, Vec<Box<dyn Fn(&App, &str, &dyn Any)>>>,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/service/message.rs:11:54
[INFO] [stdout]    |
[INFO] [stdout] 11 |     connections: HashMap<TypeId, HashMap<TypeId, Box<Fn(&dyn Any) -> Box<dyn Any>>>>,
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 11 -     connections: HashMap<TypeId, HashMap<TypeId, Box<Fn(&dyn Any) -> Box<dyn Any>>>>,
[INFO] [stdout] 11 +     connections: HashMap<TypeId, HashMap<TypeId, Box<dyn Fn(&dyn Any) -> Box<dyn Any>>>>,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `self.service_factory` as mutable more than once at a time
[INFO] [stdout]   --> src/app.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |         self.service_factory.get_service(self)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^-----------^----^
[INFO] [stdout]    |         |                    |           |
[INFO] [stdout]    |         |                    |           first mutable borrow occurs here
[INFO] [stdout]    |         |                    first borrow later used by call
[INFO] [stdout]    |         second mutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time
[INFO] [stdout]   --> src/app.rs:33:42
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub fn get_service<S: Service>(&mut self) -> &mut S {
[INFO] [stdout]    |                                    - let's call the lifetime of this reference `'1`
[INFO] [stdout] 33 |         self.service_factory.get_service(self)
[INFO] [stdout]    |         ---------------------------------^^^^-
[INFO] [stdout]    |         |                                |
[INFO] [stdout]    |         |                                second mutable borrow occurs here
[INFO] [stdout]    |         first mutable borrow occurs here
[INFO] [stdout]    |         returning this value requires that `self.service_factory` is borrowed for `'1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0499`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `editor` due to 3 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/service/file.rs:125:39
[INFO] [stdout]     |
[INFO] [stdout] 125 |         let mut fs = FileService::new(&app);
[INFO] [stdout]     |                      ---------------- ^^^^ types differ in mutability
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut AppContext`
[INFO] [stdout]                        found reference `&App`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/service/mod.rs:13:8
[INFO] [stdout]     |
[INFO] [stdout] 13  |     fn new(ctx: &mut AppContext) -> Self
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/service/file.rs:137:39
[INFO] [stdout]     |
[INFO] [stdout] 137 |         let mut fs = FileService::new(&app);
[INFO] [stdout]     |                      ---------------- ^^^^ types differ in mutability
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut AppContext`
[INFO] [stdout]                        found reference `&App`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/service/mod.rs:13:8
[INFO] [stdout]     |
[INFO] [stdout] 13  |     fn new(ctx: &mut AppContext) -> Self
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/service/mod.rs:61:52
[INFO] [stdout]    |
[INFO] [stdout] 61 |         let _ms = sr.get_service::<MessageService>(&app);
[INFO] [stdout]    |                      ----------------------------- ^^^^ types differ in mutability
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected mutable reference `&mut AppContext`
[INFO] [stdout]                       found reference `&App`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/service/mod.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub fn get_service<S: Service>(&mut self, ctx: &mut AppContext) -> &mut S {
[INFO] [stdout]    |            ^^^^^^^^^^^             ---------  --------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/service/mod.rs:68:49
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let _ts = sr.get_service::<TaskService>(&app);
[INFO] [stdout]    |                      -------------------------- ^^^^ types differ in mutability
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected mutable reference `&mut AppContext`
[INFO] [stdout]                       found reference `&App`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/service/mod.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub fn get_service<S: Service>(&mut self, ctx: &mut AppContext) -> &mut S {
[INFO] [stdout]    |            ^^^^^^^^^^^             ---------  --------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `editor` due to 5 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "d09b644408ebb06d8db1e7eb85fddf474c2d1a047a43044a284eb1fb4312f9d6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d09b644408ebb06d8db1e7eb85fddf474c2d1a047a43044a284eb1fb4312f9d6", kill_on_drop: false }`
[INFO] [stdout] d09b644408ebb06d8db1e7eb85fddf474c2d1a047a43044a284eb1fb4312f9d6
